﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Control.Dal
{
    class DalCommon
    {
        private static WareHouseDataContext database;
        public static WareHouseDataContext Database
        {
            get
            {
                if (database==null)
                {
                    database=new WareHouseDataContext();
                }
                return database;
            }
        }
    }
}
